from django.http import JsonResponse, HttpResponse
from django.shortcuts import render, redirect
from django.views import View


class site(View):
    def get(self, request):
        return redirect("/www")

    def post(self, request):
        return HttpResponse("POST 方法")    